package model

import "gorm.io/gorm"

type Post struct {
	gorm.Model
	Title   string `gorm:"type:varchar(30)"json:"title"`
	Image   string `gorm:"type:varchar(300)"json:"image"`
	Content string `gorm:"type:varchar(100)"json:"content"`
	Qx      string `gorm:"type:varchar(30)"json:"qx"`
	Status  string `gorm:"type:varchar(30)"json:"status"`
	Likes   int    `gorm:"type:int(11)"json:"likes"`
	Gx      string `gorm:"type:varchar(30)"json:"gx"`
	Rd      int    `gorm:"type:int(11)"json:"rd"`
}
